<ui:composition xmlns="http://www.w3.org/1999/xhtml"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:c="http://java.sun.com/jstl/core"
     xmlns:fmt="http://java.sun.com/jstl/fmt"
     xmlns:x="http://java.sun.com/jstl/xml"
     xmlns:fn="http://java.sun.com/jstl/functions"
     xmlns:a4j="http://richfaces.org/a4j"
     xmlns:rich="http://richfaces.org/rich"
     xmlns:gape="http://componentes.gape/component/gape">
     
	<table width="100%" border="0" cellspacing="0" cellpadding="0" height="21">
	 	<tr>
	 		<td valign="top">
		 		<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#000000" height="19" border="0">
	            	<tr>
	            		<td height="1" bgcolor="#000000"> </td>
	            	</tr>
	            	<tr>
	            		<td height="1" bgcolor="#ffffff"> </td>
	            	</tr>
	            	<tr>
	            		<td height="1" bgcolor="#000000"> </td>
	            	</tr>
	            	<tr>
	            		<td height="13" bgcolor="#303030">
	            			<font face="arial" size="2" color="#FFFFFF">
	            				<center><h:outputText value="#{msg.menuStrategicProcess}"/></center>
	            			</font>
	            		</td>
	            	</tr>
	            	<tr>
	            		<td height="1" bgcolor="#000000"></td>
	            	</tr>
	            	<tr>
	            		<td height="1" bgcolor="#ffffff"></td>
	            	</tr>
	            	<tr>
	            		<td height="1" bgcolor="#000000"></td>
	            	</tr>
	            </table>
	        </td>
	    </tr>
	</table>
	
	<style type="text/css">
		.rich-tree-node-text {
			white-space: normal;
		}
		
		.rich-tree-h-ic-line-node, .rich-tree-h-ic-line-last, .rich-tree-h-ic-line-exp, .rich-tree-h-ic-line-clp {
			background-position: -7px -247px;
			vertical-align: top;
		}
	</style>
	
	<h:panelGroup style="padding-bottom: 10px;" layout="block">
		<rich:tree switchType="client" icon="" iconLeaf="" value="#{menu.root}" var="menuItem" ajaxSubmitSelection="false" 
				   componentState="#{menu.treeState}" nodeSelectListener="#{menu.selectNode}" >
			<rich:treeNode icon="#{menuItem.img}" iconLeaf="#{menuItem.img}">
				<a4j:commandLink action="#{navigation.navega}" value="#{menuItem.name}" styleClass="nav" data="#{navigation.openError}" 
							 	 oncomplete="if(data){javascript:Richfaces.showModalPanel('panelError');}" reRender="panelError">
					<f:setPropertyActionListener value="#{'menu'}" target="#{navigation.mbean}" />
					<f:setPropertyActionListener value="#{'redirecionaTela'}" target="#{navigation.metodo}" />
					<f:setPropertyActionListener value="#{menuItem.code}" target="#{menu.menuCode}" />
				</a4j:commandLink>
			</rich:treeNode>	
		</rich:tree>
	</h:panelGroup>
</ui:composition>